package com.hu.zhcc.shiro.service;

import com.github.pagehelper.PageInfo;
import com.hu.zhcc.shiro.entity.bo.MedicalExaminationReport;

import java.util.List;

public interface MERService {
    //name模糊查询
    PageInfo<MedicalExaminationReport> getMedicalExaminationReportByName(Integer offset, Integer limit, String name);
    //全部查询
    PageInfo<MedicalExaminationReport> listAllMedicalExaminationReport(Integer offset, Integer limit);
    //根据id获取
    MedicalExaminationReport getMedicalExaminationReport(Integer id);
    //修改
    int updateMedicalExaminationReport(MedicalExaminationReport mer);
    //新增
    int addMedicalExaminationReport(MedicalExaminationReport mer);
    //删除
    int deleteMedicalExaminationReport(Integer id);
    //根据手机号获取
    List<MedicalExaminationReport> findAllMedicalExaminationReportByPhoneNumber(String phone);
    //根据档案号获取
    List<MedicalExaminationReport> findAllMedicalExaminationReportByFileNumber(String fileNumber);

}
